<!DOCTYPE html>
<!--[if IE 8]>			<html class="ie ie8"> <![endif]-->
<!--[if IE 9]>			<html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!-->	<html> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<title>推广网址 {$site_name} </title>
	<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
	<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
	{include file="public:head" /}
</head>
<body class="body-white">
<div class="wrap">
	{include file="public:nav" /}
	<div id="main-cmf">
		<div class="breadcrumb-wrapper">
			<div class="container">
				<div class="row">
					<div class="col-lg-6 col-md-6 col-xs-12 col-sm-6">
						<h2 class="title">{:lang('personal center')}</h2>
					</div>
					<div class="col-lg-6 col-md-6 col-xs-12 col-sm-6">
						<div class="breadcrumbs pull-right">
							<ul>
								<li>{:lang('current location')}:</li>
								<li><a href="__ROOT__/">{:lang('home')}</a></li>
								<li><a href="{:url('home/Center/index')}">{:lang('personal center')}</a></li>
								<li>推广网址</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="content">
			<div class="container">
				<div class="row">
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
						{include file="public:usernav"/}
					</div>
					<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12">
						<div id="center-content" style="padding:20px">
                            <h3>我的推广码： <b>{$code}</b></h3>
							<hr>
                            
                            
                            
                            {foreach name="yuju_list" item="yj"}
                            
                            <div class="row" style="margin:10px 0" >
                               <div class="input-group">
      <textarea name="f-input-{$yj.key}" id="f-input-{$yj.key}" class="form-control input-txt" placeholder="填写推广内容">{$yj.txt}</textarea>
      <span class="input-group-btn">
        <button class="btn btn-warning btn-lg btn-copy" data="f-input-{$yj.key}" type="button">复制</button>
      </span>
    </div>
                               
                               
                               
								 
                               </div>
                               <hr>
                            {/foreach}
                             
                            </div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	{include file="public:footer"/}
</div>

{include file="public:scripts"/}

<script src="{$yf_theme_path}public/js/jquery.zclip.min.js"></script>

<script language="javascript">
$(".btn-copy").zclip({
		path: "{$yf_theme_path}public/js/ZeroClipboard.swf",
		copy: function(){
		    var obj = $("#"+$(this).attr('data'));
		    return obj.html();
		},
		afterCopy:function(){ 
			layer.msg('复制成功！您可以去粘贴推广了^_^',{icon:1});
        }
});

 </script>
</body>
</html>